package io.jplus.admin.service.impl;

import com.jfinal.plugin.activerecord.Page;
import io.jboot.aop.annotation.Bean;
import io.jboot.core.rpc.annotation.JbootrpcService;
import io.jboot.db.model.Column;
import io.jboot.service.JbootServiceBase;
import io.jplus.admin.model.Role;
import io.jplus.admin.service.RoleService;

import javax.inject.Singleton;
import java.util.List;

@Bean
@Singleton
@JbootrpcService
public class RoleServiceImpl extends JbootServiceBase<Role> implements RoleService {

    @Override
    public List<Role> findByColumn(Column column) {
        return null;
    }

    @Override
    public List<Role> findByUserId(Long userId) {
        return null;
    }

    @Override
    public Page<Role> paginateByColumns(int pageNumber, int pageSize, List<Column> list, String orderBy) {
        return null;
    }
}